package com.zhiyou100.emtity;

import java.util.Date;

/**
 * @description:
 * @author: 马跃
 * @create: 2021-01-22 14:07
 **/
public class House {
    private Integer h_id;
    private String h_area;//所属地区
    private String h_estate;//所属小区
    private String h_unitNumber;//单元号
    private Integer h_floor;//楼层
    private String h_roomNumber;//房间号
    private String h_acreage;//面积
    private String h_direction;//朝向
    private String h_fitment;//装修状态
    private Integer h_isDoubleAir;//是否双气
    private Integer h_limit;//限住人数
    private String h_facility;//配置设施
    private String h_img;//图片地址
    private String h_address;
    private double h_price;//出租价格
    private Integer h_status;//出租转态
    private Date h_addTime;//添加时间
    private Date h_updateTime;//更新时间
    private String l_name;
    private String l_phone;

    public void setH_isDoubleAir(Integer h_isDoubleAir) {
        this.h_isDoubleAir = h_isDoubleAir;
    }

    public Date getC_endTime() {
        return c_endTime;
    }

    public void setC_endTime(Date c_endTime) {
        this.c_endTime = c_endTime;
    }

    private Date c_endTime;

    public House() {
    }

    public Integer getH_id() {
        return h_id;
    }

    public void setH_id(Integer h_id) {
        this.h_id = h_id;
    }

    public String getH_area() {
        return h_area;
    }

    public void setH_area(String h_area) {
        this.h_area = h_area;
    }

    public String getH_estate() {
        return h_estate;
    }

    public void setH_estate(String h_estate) {
        this.h_estate = h_estate;
    }

    public String getH_unitNumber() {
        return h_unitNumber;
    }

    public void setH_unitNumber(String h_unitNumber) {
        this.h_unitNumber = h_unitNumber;
    }

    public Integer getH_floor() {
        return h_floor;
    }

    public void setH_floor(Integer h_floor) {
        this.h_floor = h_floor;
    }

    public String getH_roomNumber() {
        return h_roomNumber;
    }

    public void setH_roomNumber(String h_roomNumber) {
        this.h_roomNumber = h_roomNumber;
    }

    public String getH_acreage() {
        return h_acreage;
    }

    public void setH_acreage(String h_acreage) {
        this.h_acreage = h_acreage;
    }

    public String getH_direction() {
        return h_direction;
    }

    public void setH_direction(String h_direction) {
        this.h_direction = h_direction;
    }

    public String getH_fitment() {
        return h_fitment;
    }

    public void setH_fitment(String h_fitment) {
        this.h_fitment = h_fitment;
    }

    public Integer getH_isDoubleAir() {
        return h_isDoubleAir;
    }

    public void setH_isDoubleAir(int h_isDoubleAir) {
        this.h_isDoubleAir = h_isDoubleAir;
    }

    public Integer getH_limit() {
        return h_limit;
    }

    public void setH_limit(Integer h_limit) {
        this.h_limit = h_limit;
    }

    public String getH_facility() {
        return h_facility;
    }

    public void setH_facility(String h_facility) {
        this.h_facility = h_facility;
    }

    public String getH_img() {
        return h_img;
    }

    public void setH_img(String h_img) {
        this.h_img = h_img;
    }

    public String getH_address() {
        return h_address;
    }

    public void setH_address(String h_address) {
        this.h_address = h_address;
    }

    public double getH_price() {
        return h_price;
    }

    public void setH_price(double h_price) {
        this.h_price = h_price;
    }

    public Integer getH_status() {
        return h_status;
    }

    public void setH_status(Integer h_status) {
        this.h_status = h_status;
    }

    public Date getH_addTime() {
        return h_addTime;
    }

    public void setH_addTime(Date h_addTime) {
        this.h_addTime = h_addTime;
    }

    public Date getH_updateTime() {
        return h_updateTime;
    }

    public void setH_updateTime(Date h_updateTime) {
        this.h_updateTime = h_updateTime;
    }

    public String getL_name() {
        return l_name;
    }

    public void setL_name(String l_name) {
        this.l_name = l_name;
    }

    public String getL_phone() {
        return l_phone;
    }

    public void setL_phone(String l_phone) {
        this.l_phone = l_phone;
    }

    public Date getEndTime() {
        return c_endTime;
    }

    public void setEndTime(Date c_endTime) {
        this.c_endTime = c_endTime;
    }

    public House(Integer h_id, String h_area, String h_estate, String h_unitNumber, Integer h_floor, String h_roomNumber, String h_acreage, String h_direction, String h_fitment, Integer h_isDoubleAir, Integer h_limit, String h_facility, String h_img, String h_address, double h_price, Integer h_status, Date h_addTime, Date h_updateTime, String l_name, String l_phone, Date c_endTime) {
        this.h_id = h_id;
        this.h_area = h_area;
        this.h_estate = h_estate;
        this.h_unitNumber = h_unitNumber;
        this.h_floor = h_floor;
        this.h_roomNumber = h_roomNumber;
        this.h_acreage = h_acreage;
        this.h_direction = h_direction;
        this.h_fitment = h_fitment;
        this.h_isDoubleAir = h_isDoubleAir;
        this.h_limit = h_limit;
        this.h_facility = h_facility;
        this.h_img = h_img;
        this.h_address = h_address;
        this.h_price = h_price;
        this.h_status = h_status;
        this.h_addTime = h_addTime;
        this.h_updateTime = h_updateTime;
        this.l_name = l_name;
        this.l_phone = l_phone;
        this.c_endTime = c_endTime;
    }

    @Override
    public String toString() {
        return "House{" +
                "h_id=" + h_id +
                ", h_area='" + h_area + '\'' +
                ", h_estate='" + h_estate + '\'' +
                ", h_unitNumber='" + h_unitNumber + '\'' +
                ", h_floor=" + h_floor +
                ", h_roomNumber='" + h_roomNumber + '\'' +
                ", h_acreage='" + h_acreage + '\'' +
                ", h_direction='" + h_direction + '\'' +
                ", h_fitment='" + h_fitment + '\'' +
                ", h_isDoubleAir='" + h_isDoubleAir + '\'' +
                ", h_limit=" + h_limit +
                ", h_facility='" + h_facility + '\'' +
                ", h_img='" + h_img + '\'' +
                ", h_address='" + h_address + '\'' +
                ", h_price=" + h_price +
                ", h_status=" + h_status +
                ", h_addTime=" + h_addTime +
                ", h_updateTime=" + h_updateTime +
                ", l_name='" + l_name + '\'' +
                ", l_phone='" + l_phone + '\'' +
                ", c_endTime=" + c_endTime +
                '}';
    }
}
